package com.interfaces.module.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lumberer
 * @date 2022-11-19
 * 前端用户相关表
 */
@ApiModel("用户信息")
@Data
@TableName("fts_user")
public class FtsUser  extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("账号状态 1 正常 2注销 3禁用")
    private Integer state;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("积分")
    private Integer integral;
    @ApiModelProperty("性别 1 男 2 女 3未知")
    private Integer gender;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("真实姓名")
    private String realName;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("openid")
    private String openId;
    @ApiModelProperty("用户身份证号")
    private String idNumber;
    @ApiModelProperty("注册时间")
    private String registerTime;
    @ApiModelProperty("最后登录时间")
    private String lastLoginTime;
    private String province;
    private String country;
    private String city;
    private String unionId;
    private String token;

}
